package dao;

import util.DBHelp;
import entity.Message;

public class MessageDao {

	private DBHelp<Message> db=new DBHelp<Message>();
	public void save(Message message){
		String sql="insert into t_message(id,content,createtime,user_id,project_id) values(?,?,?,?,?)";
		db.executeSQL(sql,message.getId(),message.getContent(),message.getCreatetime(),message.getProject_id(),message.getUser_id());
	}
}
